package com.xz.knowledgeDuplication.pattern.prototype;

/**
 * @author 召
 * @date 2022-03-06 15:33:00
 */
public class RealizeType implements Cloneable {

    public RealizeType () {
        System.out.println("对象被创建!");
    }

    @Override
    public RealizeType clone() throws CloneNotSupportedException {
        System.out.println("对象被克隆!");
        return (RealizeType) super.clone();
    }
}
